package src;

public class MathHelper
{
	public static float round(float d, int dec)
	{
		dec = (int)Math.pow(10, dec);
		
		d *= dec;
		d = (float)Math.round(d);
		
		return (d / dec);
	}
}
